<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>User Details!!</title>
</head>
<body>
	Please Select The userId :
	<br />
	<form:form action="getUserDetails.htm" commandName="user">
		<select name="selectedUserId">
			<c:forEach var="user" items="${usersList}">
				<option>
					<c:out value="${user.userId}"></c:out>
				</option>
				<br />
			</c:forEach>
		</select>
		<input name="submit" type="submit" value="Get User Details" />
	</form:form>
</body>
</html>